package com.red.star.macalline.data.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author nofish.yan@gmail.com
 * @date 2018/4/26.
 * 消息推送实体
 */
@Data
@NoArgsConstructor
public class Notice {

    private String notice = "notice";
    private Integer type;
    private Integer sender;
    private Integer receiver;
    private String mallCode;
    private String chatSessionId;

    public Notice(Integer type, Integer receiver) {
        this.type = type;
        this.receiver = receiver;
    }

    /**
     * 消息通知类型: 标签动态
     **/
    public static final Integer NOTICE_TYPE_DYNAMIC = 0;
    /**
     * 消息通知类型: 客服通知
     **/
    public static final Integer NOTICE_TYPE_CUSTOMER = 1;
}
